<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>生成充值码</title>
</head>
<body>
<form action="/generateCode" method="post">
    <label for="amount">充值金额：</label>
    <select name="amount" id="amount">
        <option value="10">10</option>
        <option value="50">50</option>
        <option value="100">100</option>
        <option value="300">300</option>
        <option value="648">648</option>
    </select>
    <button type="submit">生成充值码</button>
</form>

<p>生成的充值码: ${rechargeCode}</p>

<br>
<a href="recharge">去充值</a> |
<a href="rechargeRecord">查看充值记录</a> |
</body>
</html>
